package main

import (
	logger "github.com/sirupsen/logrus"

	"publish-manage/internal/controller/manage"
	_ "publish-manage/internal/initial"
	"publish-manage/pkg/config"
	_ "publish-manage/pkg/database"
	"publish-manage/pkg/server"
)

func main() {

	manage.InitRouter()
	logger.Error(server.Start(":" + config.GetString("server.port")))
}
